<?php


namespace app\admin1\model;


use think\Model;

class GoodsModel extends Model
{
    protected $name = 'goods';
    protected $autoWriteTimestamp = true;
    public function getPhotosUrlAttr($value){

        return explode(',',$value);
    }
}